package com.chinaunicom.structure.proxy.dynamicproxy.cglib;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2022/8/9 11:17
 * Description:
 */
public class Client {
    public static void main(String[] args) {
        ProxyFactory proxyFactory = new ProxyFactory(new DeptService());

        DeptService proxyInstance = (DeptService) proxyFactory.getProxyInstance();

        proxyInstance.showInfo();
        System.out.println("-----------------------------");
        proxyInstance.showMember(100);
    }
}
